import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/public.css";
// 将自动注册所有组件为全局组件
import dataV from "@jiaminghi/data-view";

import * as echarts from "echarts";

Vue.prototype.$echarts = echarts; //挂载到Vue实例上面
Vue.use(dataV);
Vue.use(ElementUI);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
